<?php
namespace app\model;

class M_module
{
    //字段数据
    public static $fields=array();

    public static function getFields(){
        self::$fields["module"]=array(
            "type"=>"str",
            "require"=>"1",
            "other"=>"{\"isLink\":0}",
        );
        self::$fields["name"]=array(
            "type"=>"str",
            "require"=>"1",
        );
        self::$fields["urlPath"]=array(
            "type"=>"str",
            "require"=>"1",
            "other"=>"{\"isLink\":0}",
        );
        self::$fields["domain_pc"]=array(
            "type"=>"str",
        );
        self::$fields["linkUrl"]=array(
            "type"=>"str",
            "require"=>"1",
        );
        self::$fields["plugins"]=array(
            "type"=>"str",
        );
        self::$fields["style"]=array(
            "type"=>"str",
        );
        self::$fields["sort"]=array(
            "type"=>"int",
        );
        self::$fields["isLink"]=array(
            "type"=>"int",
        );
        self::$fields["isMenu"]=array(
            "type"=>"int",
        );
        self::$fields["isBlank"]=array(
            "type"=>"int",
        );
        self::$fields["logo"]=array(
            "type"=>"int",
        );
        self::$fields["disabled"]=array(
            "type"=>"int",
        );
        self::$fields["domain_mobile"]=array(
            "type"=>"str",
        );
        return self::$fields;
    }
}